#pragma once
#include "ace/Message_Queue.h"
#include "ace/Asynch_IO.h"
//#include "ace/Proactor.h"

class ClientChannel :	public ACE_Service_Handler
{
public:
	ClientChannel();
	virtual ~ClientChannel(void);

	virtual void open(ACE_HANDLE h, ACE_Message_Block& data);
	virtual void handle_write_stream (const ACE_Asynch_Write_Stream::Result &result);

private:
	ACE_Asynch_Write_Stream m_writer;
	ACE_Asynch_Read_Stream m_reader;
};
